package com.gcosc.hly.codejava.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcosc.hly.codejava.VO.TopicVO;
import com.gcosc.hly.codejava.entity.Topic;
import com.gcosc.hly.codejava.params.QueryParams;

import java.util.List;

public interface TopicService extends IService<Topic> {

    List<TopicVO> getTopicVOList(QueryParams build);

    TopicVO getTopicVO(Topic topic);

    TopicVO detail(int id);

    Page<Topic> queryParams(QueryParams params);

    int edit(Topic topic);

    void dels(String ids);
}
